package com.avic.map.service;

import com.avic.map.common.model.MapCommonModel;
import com.avic.map.dal.condition.PageQueryMapShipCondition;
import com.avic.map.dal.model.MapShipResource;

import java.util.List;

/**
 * @Description 应急监控船舶接口service
 * @Author huangsheng
 * @Date 2018/10/1 15:55
 */
public interface MapShipResourceService {

    /**
     * 创建船舶地图应急数据
     *
     * @param mapCommonModel
     */
    void createMapShipResource(MapCommonModel mapCommonModel);

    /**
     * 删除船舶持久数据
     *
     * @param shipNumber
     */
    void deleteMapShipResource(String shipNumber);

    /**
     * 查看船舶列表数据
     *
     * @param pageQueryMapShipCondition
     * @return
     */
    List<MapShipResource> mapShipList(PageQueryMapShipCondition pageQueryMapShipCondition);

    /**
     * 删除所有数据
     */
    void deleteAll();

    int mapShipListTotal(PageQueryMapShipCondition pageQueryMapShipCondition);

    void updateShipName(String shipName, String shipNumber);
}
